package com.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.sfzy.entity.Consultant;

import java.util.List;

public interface ConsultantService {
    //添加
    int insertConsultant(Consultant consultant);
    //删除
    int deleteConsultant(int id);
    //修改
    int updateConsultant(Consultant consultant);
    //根据id查询
    Consultant selectConsultantById3(int id);
    //分页查询
    PageInfo<Consultant> selectConsultants3(Consultant consultant, int pageNum, int pageSize);


}
